@font-face {
  font-family: 'icomoon';
  src: url('fonts/icomoon.eot?7hlqh2');
  src: url('fonts/icomoon.eot?7hlqh2#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?7hlqh2') format('truetype'),
    url('fonts/icomoon.woff?7hlqh2') format('woff'),
    url('fonts/icomoon.svg?7hlqh2#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-image:before {
  content: "\e90d";
}

.icon-user:before {
  content: "\e971";
}

.icon-arrow-left2:before {
  content: "\ea40";
}

::placeholder {
  color: #5d5d5d;
}
body {
  font-style: 'Roboto Medium';
  font-size: 20px;
  margin: 0;
  height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

header {
  display: flex;
  height: 2.25rem;
  padding-top: 0.5em;
  background: #FF5621;
}

header span,  footer span {
  color: #fff;
  line-height: 1;
  max-width: 2.25rem;
  display: inline;
}
header span {
  margin: 0.1rem 0.5rem 0.5rem 1rem;
}
footer span {
  margin: 0.5rem 0.5rem 0.5rem 0.5rem;
  color: #FF521D;
}
header p {
  display: inline-block;
  color: white;
  margin: unset;
  font-weight: 500;
}

footer {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  height: 2.25rem;
  padding: 0.5rem;
  /* background-color: #1b1818; */
}
footer input {
  width: auto;
  width: 60vw;
  padding: 1rem;
  background-color: #b1b1b199;
  border: none;
  border-radius: 1rem;
  transition: 0.5s;
}
footer .send-button {
  align-items: flex-end;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: 0.5rem;
  background-color: #FF521D;
  color: white;
  border: none;
  border-radius: 1rem;
}
footer input:focus {
    outline: none;
    border: none;
    background-color: honeydew;
}
section .chat-box {
  height: 85vh;
  /* margin-bottom: -1.5rem; */
  overflow: auto;
  overflow-anchor: auto;
}
.chat-box ul {
  padding: unset;
}
.chat-box ul li {
  position: relative;
  font-size: 14px;
  list-style: none;
  /* background-color: gray; */
  /* border: 1px solid rgba(0,0,0,0.27); */
  border-radius: 1rem;
}
.chat-box ul li .replyDate {
  font-size: 12px;
  color: rgba(0,0,0,0.50);
  line-height: 1;
  text-align: center;
}
.chat-box ul li.server-message {
  margin: 1rem 1rem 1rem 3rem;
  padding: 0.2rem 3.5rem 1rem 1rem;
}
.chat-box ul li.client-message {
  margin: 1rem 3rem 1rem 1rem;
  padding: 0.2rem 1rem 1rem 3.5rem;
}
.chat-box ul li.client-message::before {
  position: absolute;
  height: 2.5rem;
  width: 2.5rem;
  top: 0.3rem;
  left: 0.3rem;
  margin: 0.1rem;
  content: url('../imgs/person.svg');
  border: 1px dashed rgba(0,0,0,0.27);
  border-radius: 1rem;
}
.chat-box ul li.server-message::after {
  position: absolute;
  height: 2.5rem;
  width: 2.5rem;
  top: 0.3rem;
  right: 0.3rem;
  margin: 0.1rem;
  /*content: url('../imgs/cashzoneSupportPerson.svg');*/
  border: 1px dashed rgba(0,0,0,0.27);
  border-radius: 1rem;
}
